package zoo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;

public class Test01 {
	public static void main(String[] args) throws IOException {
	 char c []={'1','2','3','4'};
	 for (int i = 0; i < c.length/2; i++) {
		char  d=c[i];
		c[i]=c[c.length-(i+1)];
		c[c.length-(i+1)]=d;
		
	}
	 for (int i = 0; i < c.length; i++) {
		System.out.println(c[i]);
	}
	}

}
